<template>
    <div class="box">
        <input :value="value" @input="handle" v-bind="$attrs">
    </div>
</template>

<script>
export default {
    inheritAttrs:false,
    name:'GLInput',
    props:['value'],
    methods:{
        handle(e){
            this.$emit('input',e.target.value)
        }
    }
}
</script>

<style lang="scss">
    .box{
        font-size: 12px;
        color:#999;
    }
</style>